package com.yearEndWorkload.service;

import com.yearEndWorkload.common.Result;
import com.yearEndWorkload.pojo.entity.SpecializedWork;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yearEndWorkload.pojo.excel.exports.SpecialWorkExportExcel;
import com.yearEndWorkload.pojo.form.add.AddSpecializedWorkChildForm;
import com.yearEndWorkload.pojo.form.add.AddSpecializedWorkForm;
import com.yearEndWorkload.pojo.form.update.UpdateSpecializedWorkChildForm;
import com.yearEndWorkload.pojo.form.update.UpdateSpecializedWorkForm;
import com.yearEndWorkload.pojo.query.OutstandingQuery;
import com.yearEndWorkload.pojo.query.SpecializedWorkQuery;

import java.util.List;

/**
* @author admin
* @description 针对表【specialized_work(专项工作绩效管理)】的数据库操作Service
* @createDate 2024-03-06 22:47:01
*/
public interface SpecializedWorkService extends IService<SpecializedWork> {

    Result getList(SpecializedWorkQuery outstandingQuery);

    Result addSpecializedWork(AddSpecializedWorkForm addSpecializedWorkForm);

    Result updateSpecializedWork(UpdateSpecializedWorkForm updateSpecializedWorkForm);

    Result deleteSpecializedWorkByIds(List<String> list);

    Result addSpecializedWorkChild(AddSpecializedWorkChildForm addSpecializedWorkChildForm);

    Result updateSpecializedWorkChild(UpdateSpecializedWorkChildForm updateSpecializedWorkChildForm);

    Result deleteSpecializedWorkChildByIds(List<String> list);

    List<SpecialWorkExportExcel> getSpecializedWorkExportExcels();
}
